import {
	request
} from "@/utils/request.js"
export function apiGetBanner() {
	return request({
		url: "/homeBanner",
	})

}
export function apiGetDayRandom() {
	return request({
		url: "/randomWall",
	})
}
export function apiGetNotice(data = {}) {
	return request({
		url: "/wallNewsList",
		data
	})
}
export function apiGetClassify(data = {}) {
	return request({
		url: '/classify',
		data
	})
}
export function apiGetClassList(data = {}) {
	return request({
		url: '/wallList',
		data
	})
}
//壁纸评分
export function apiGetsetupScore(data = {}) {
	return request({
		url: '/setupScore',
		data
	})
}

//壁纸下载
export function apiWriteDownload(data = {}) {
	return request({
		url: '/downloadWall',
		data
	})
}
//单个壁纸详情
export function apiDetailWall(data = {}) {
	return request({
		url: '/detailWall',
		data
	})
}
//个人中心
export function apiUserInfo(data = {}) {
	return request({
		url: '/userInfo',
		data
	})
}
//我的下载和评分
export function apiGetHistoryList(data = {}) {
	return request({
		url: '/userWallList',
		data
	})
}
//搜索壁纸
export function apiSearchData(data = {}) {
	return request({
		url: '/searchWall',
		data
	})
}